package com.xbxkj.commen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbxkj.commen.bean.Dictionaries;
import com.xbxkj.commen.bean.TreeModel;
import com.xbxkj.commen.controller.model.ResultModel;

import java.util.List;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author 张子艺
 * @since 2019-08-19
 */
public interface DictionariesService extends IService<Dictionaries> {
  List<TreeModel> finDictionariesAjax(Dictionaries dictionaries);
  ResultModel<?> delData(String id);

  /**
   * 查询一个value值下的所有子集数据
   * @return
   */
  List<Dictionaries> findDicByParentValue(String parentValue);
}
